- 
		Home
	
 
	- 
KimaAI | AI Chatbot, ChatGPT content writer and more
 
- 
1.3.2
 
- 
Code
 
- 
Classes
 
-  ChatModel 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											13 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											219 | 
										
																			
											| Lines of code | 
											93 | 
										
																			
											| Logical lines of code | 
											54 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											62 | 
										
																			
											| Methods | 
											8 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| addResponseAndMessage() | 
									S  | 
																	50 | 
													3 | 
													27 | 
							
					
				| getAll() | 
									S  | 
																	58 | 
													2 | 
													17 | 
							
					
				| insert() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| delete() | 
									S  | 
																	61 | 
													2 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| getSessionHistory() | 
									S  | 
																	67 | 
													1 | 
													7 | 
							
					
				| countChatbotMessagesBySessionId() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| countChatbotMessagesByIpToday() | 
									S  | 
																	66 | 
													1 | 
													7 |